diff options
Diffstat (limited to 'src/app/groups/[groupId]/save-recent-group.tsx')
| -rw-r--r-- | src/app/groups/[groupId]/save-recent-group.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/groups/[groupId]/save-recent-group.tsx b/src/app/groups/[groupId]/save-recent-group.tsx index e55d7c8..084681a 100644 --- a/src/app/groups/[groupId]/save-recent-group.tsx +++ b/src/app/groups/[groupId]/save-recent-group.tsx @@ -12,7 +12,7 @@ type Props = { export function SaveGroupLocally({ group }: Props) { useEffect(() => { saveRecentGroup(group) - }, []) + }, [group]) return null } |
